package com.xg.remote;

import com.xg.common.result.ApiResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("service-serificationcode")
public interface VerificationCodeFeignClient {

    /**
     * 获取验证码
     * @param size
     * @return
     */
    @RequestMapping("/verification-code/{size}")
    ApiResult<String> getVerificationCode(@PathVariable("size") int size);

}
